package com.xzit.homework;

import java.math.BigDecimal;

public class TestConvert {
    public static void main(String[] args) throws IllegalAccessException {
        Double salary = 123456.789;
        BigDecimal bigDecimalSalary = SalaryConverter.convert(salary);
        System.out.println("转换后的工资为：" + bigDecimalSalary);
    }
}
